import SvgIcon from './svgicon.vue';
import type {Component } from 'vue';
import * as ElementPlusIconsVue from '@element-plus/icons-vue'



const components: { [name: string]: Component } = { SvgIcon };
export default {
    install(app: any) {
        Object.keys(components).forEach((key: string) => {
            app.component(key, components[key]);
        });
        // 注册ElementPlusIconsVue全部图标
        for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
            app.component(key, component)
        }
    }
}
